Cloudinary\Media\Filter C

Total Complexity 104
Dependencies 4
Dependents 1
Total lines 738
Lines of code 413
Logical lines of code 246
Comment lines 233
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
filter_out_local()
B
39 19 64
filter_video_shortcodes()
A
49 9 30
transform_to_editor()
A
51 8 24
filter_attachment_for_js()
S
52 7 25
filter_out_cloudinary()
S
51 6 26
filter_video_embeds()
S
53 6 22
pre_filter_rest_content()
S
55 4 19
filter_attachment_for_rest()
S
60 4 14
get_video_shortcodes()
S
58 3 16
filter_image_block_pre_render()
S
62 4 10
disable_editors_maybe()
S
65 4 9
get_size_from_image_tag()
S
62 3 12
init_rest_filters()
S
63 3 10
get_crop_from_image_tag()
S
64 3 10
get_media_tags()
S
63 3 10
overwrite_template_inject()
S
59 2 13
setup_hooks()
S
54 1 21
get_classes()
S
70 2 6
get_poster_from_tag()
S
68 2 7
catch_media_templates_maybe()
S
70 2 6
get_url_from_tag()
S
68 2 7
get_id_from_tag()
S
68 2 7
template_overwrite_edit()
S
66 1 11
template_overwrite_insert()
S
67 1 10
template_overwrite_insert_video()
S
67 1 10
template_overwrite_video_edit()
S
67 1 10
__construct()
S
77 1 4